<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" slick-uniqueid="1">
<head>
	<jdoc:include type="head" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Eagle Pro</title>
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/eagle/css/style.css">
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/eagle/css/eagle.css">
	<script src="<?php echo $this->baseurl ?>/templates/eagle/scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="<?php echo $this->baseurl ?>/templates/eagle/scripts/select.js" type="text/javascript"></script>
	<?php if(JRequest::getVar('Itemid')!='111'){?>
		<script type="text/javascript">
			$(function(){
				$('#maincontain').css('min-height',$(window).height()-$('#header').outerHeight()-91);
				$(window).resize(function(){$('#maincontain').css('min-height',$(window).height()-$('#header').outerHeight()-91);});
			});
		</script>
	<?php } ?>
	<script type="text/javascript">
	jQuery(document).ready(function($) {
				//add ajax
			$($("#left-block li").get(0)).addClass('active');
			$("#left-block a").mouseover(function() {
				//loadAjaxPage($(this).attr("href")+'?format=raw');
				var index = $(this).parent().index();
				if($(this).attr("href") != "#loadp")
				{
					$(this).attr("onclick", 'loadAjaxPage("'+$(this).attr("href")+'?format=raw", '+index+');')
					$(this).attr("href", '#loadp')
				}
			});
	});
	
			//ajax function
		function loadAjaxPage(url, index)
		{
			//$("#inner-content").fadeOut(1000);
			//oow.addClass('active');
			$("#left-block li").removeClass('active');
			$($("#left-block li").get(index)).addClass('active');
			$.ajax({
				url: url,
				success: function(data) {					
					$('#right-block').html(data);
					//$("#inner-content").fadeIn(1000);
				}
			});
		}
	</script>
</head>
<body>
<div id="content">
	<div id="wrapper">
		<div id="header">
			<div class="w960 mha ofh pb10">
				<!--logo-->
				<div id="logo">
					<a href=""><img src="<?php echo $this->baseurl ?>/templates/eagle/images/logo.png"/></a>
				</div>
				<div id="info">
					
					<div id="social">					
						<div class="share_buts">
							<!-- AddThis Button BEGIN -->
							<div class="addthis_toolbox addthis_default_style ">
							<a class="addthis_button_preferred_1"></a>
							<a class="addthis_button_preferred_2"></a>
							<a class="addthis_button_preferred_3"></a>
							<a class="addthis_button_compact"></a>
							<a class="addthis_counter addthis_bubble_style"></a>
							</div>
							<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4fa39c2a6b168ca3"></script>
							<!-- AddThis Button END -->
						</div>
					</div>
					<jdoc:include type="modules" name="info"/>
					<div class="clear"></div>
					<div class="language">
						<ul>
							<li><a href="">English</a></li>
							<li><a href="">中文</a></li>
						</ul>
					</div>
				</div>			
			</div>			
			<div class="clear"></div>
			<jdoc:include type="modules" name="mainmenu"/>

		</div>
		
		<div id="container" class="ofh">
			<jdoc:include type="modules" name="slideshow"/>

			<div class="clear"></div>
			
			<!--main contain-->
			<div id="maincontain" <?php if(JRequest::getVar('Itemid')!='111' && JRequest::getVar('Itemid')!='101'){?>class="inner"<?php } ?>>
			
			<?php if(JRequest::getVar('Itemid')!='111'){?>
				<div class="w960 mha ofh taj">
					<div id="left-block">
						<jdoc:include type="modules" name="sidebar"/>
					</div>
					<div id="right-block">
						<jdoc:include type="component" />
					</div>
				</div>
			<?php }else{ ?>
				<jdoc:include type="component" />
			<?php } ?>
			</div><!--end main contain-->
		</div><!--container-->	
		
		<div class="clear"></div>
	</div><!--end wrapper-->
	<div id="footer">
		<div id="image-bg" class="w960 mha por">
		<?php if(JRequest::getVar('Itemid')=='104' || JRequest::getVar('Itemid')=='105') { ?>	
			<img src="images/dog.png" />
		<?php } ?>	
		<?php if(JRequest::getVar('Itemid')=='106') { ?>	
			<img src="images/dog2.png" />
		<?php } ?>		
		</div>
		<div class="ftcontent">
			<div class=" dpib ofh">
				<p class="fl">All rights reserved EAGLE PRO PET C 2012</p>
				<ul>
					<li>EAGLE TERRITORIAL AGENCY (S) PLE LTD </li>
					<li>EAGLE PROFESSIONAL PET PRODUCTS PTY LTD</li>
					<li>Level 1, 267, Stirling Highway, Claremont, WA 6010</li>
				</ul>
			</div>
		</div>
	</div>

</div>
</body>
</html>